﻿@model yq.WebModel.Sys.User
<div class="alert alert-success"  style="margin-bottom:0px; margin-top:0px">
  账户信息
</div>
<table class="table table-bordered table-striped">
    <tbody>
        <tr>
            <td>
                @(Html.RawFor(obj => obj.Account.NickName)):
            </td>
            <td  style="width:200px">
                @Model.Account.NickName
            </td>
            <td>
                @(Html.RawFor(obj => obj.Account.State)):
            </td>
            <td style="width:200px">
                @Model.Account.State.ExtName()
            </td>
        </tr>
        <tr>
            <td>
                @(Html.RawFor(obj => obj.Account.CreateTtime)):
            </td>
            <td style="width:200px">
                @Model.Account.CreateTtime.ToString("yyyy-MM-dd")
            </td>
            <td>
                @(Html.RawFor(obj => obj.Account.PurviewEnum)):
            </td>
            <td style="width:200px">
                @Model.Account.PurviewEnum.ExtName()
            </td>
        </tr>
    </tbody>
</table>
<div class="alert alert-success"  style="margin-bottom:0px">
  详细信息
</div>
<table class="table table-bordered table-striped" style="margin-bottom:5px">
    <tbody>
     <tr>
            <td>
                @(Html.RawFor(obj => obj.Info.Name)):
            </td>
            <td style="width:200px">
                @(Model.Info.Name)   
               &nbsp;
               
                @if(string.IsNullOrEmpty(Model.Info.Title)==false)
                {
                    <text>
                             [@Model.Info.Title]
                    </text>
                }
            </td>

             <td>
                @(Html.RawFor(obj => obj.Info.Gender)):
            </td>
            <td style="width:200px">
                @Model.Info.Gender.ExtName()
            </td>

        </tr>
        <tr>
            <td>
                @(Html.RawFor(obj => obj.Info.Address)):
            </td>
            <td  style="width:200px">
                @Model.Info.Address
            </td>
            <td>
                @(Html.RawFor(obj => obj.Info.DateBirth)):
            </td>
            <td style="width:200px">
                @Model.Info.DateBirth.ToString("yyyy-MM-dd")
            </td>
        </tr>
        <tr>
            <td>
                @(Html.RawFor(obj => obj.Info.DepartmentId)):
            </td>
            <td style="width:200px">
                @Model.DepartmentName
            </td>
            <td>
                @(Html.RawFor(obj => obj.Info.Email)):
            </td>
            <td style="width:200px">
                @Model.Info.Email
            </td>
        </tr>
         <tr>
           
            <td>
                @(Html.RawFor(obj => obj.Info.Summary)):
            </td>
            <td colspan="2" width="300px" >
               <div style="word-wrap:break-word;word-break:break-all;overflow:hidden;width:300px"  >@Model.Info.Summary</div> 
            </td>
            <td>
      
               @Html.ImgFile(Model.Info.HeadFlieId, 100, 100, 100)
            </td>
        </tr>
        
    </tbody>
</table>

<div class="alert alert-info" style="margin-bottom:0px">
        <strong>登录账号:</strong>
        @foreach (var log in Model.Login)
        { 
           @(log.Account)@Html.Raw("&nbsp;&nbsp;")
        
        }


  </div>